
/**
 * AppleIIGo
 * List class
 * (C) 2008 by Marc S. Ressl (mressl@umich.edu)
 * Released under the GPL
 */

#ifndef LIST_H
#define LIST_H

#include "types.h"

struct ListType {
	struct ListType * next;
	void * data;
};

class List {
public:
	List();
	~List();
	
	bool insert(void * data);
	void * get();
	void * remove();
	
	void setStart();
	bool isNext();
	void next();
	
protected:
	ListType * head;
	ListType ** pointer;
};

#endif
